﻿/****************************** Module Header ******************************\
 * Module Name:  tUserMallShop.cs
 * Module Version:  1.0.0 (2013-01-25)
 * Copyright (c) AnyEB.Com (14507247@qq.com)
 * 
 * This source is subject to the GPL License.
 * See http://www.gnu.org/licenses/gpl.html.
 * All other rights reserved.
 * 
 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 
 * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
\***************************************************************************/

using System;

namespace UCL.Data.ORM.UMD
{
	/// <summary>
    /// 用户-商城管理-商铺 数据实体类
	/// </summary>
    [DBTable(Common = "用户-商城管理-商铺")]
	public class tUserMallShop
	{
		/// <summary>
		/// Guid编号
		/// </summary>
		public Guid ID { get { return _ID ?? default(Guid); } set { _ID = value; } }

        [DBColumn(Alias = "Guid编号", IsKey = true, DefaultValue = "newid()")]
        private Guid? _ID;

		/// <summary>
		/// 商铺名称
		/// </summary>
		public string ShopName { get { return _ShopName; } set { _ShopName = value; } }

        [DBColumn(Alias = "商铺名称", Length = "32")]
		private string _ShopName;

        /// <summary>
        /// 用户帐号
        /// </summary>
        public string UserName { get { return _UserName; } set { _UserName = value; } }

        [DBColumn(Alias = "用户帐号", CanBeNull = true, Length = "32")]
        private string _UserName;

		/// <summary>
		/// 分类Guid编号
		/// </summary>
		public Guid CatalogID { get { return _CatalogID ?? default(Guid); } set { _CatalogID = value; } }

        [DBColumn(Alias = "分类Guid编号", CanBeNull = true)]
		private Guid? _CatalogID;

		/// <summary>
		/// 商铺Logo
		/// </summary>
		public string Logo { get { return _Logo; } set { _Logo = value; } }

        [DBColumn(Alias = "商铺Logo", CanBeNull = true, Length = "255")]
		private string _Logo;

		/// <summary>
		/// 联系人
		/// </summary>
		public string Contact { get { return _Contact; } set { _Contact = value; } }

        [DBColumn(Alias = "联系人", CanBeNull = true, Length = "32")]
		private string _Contact;

		/// <summary>
		/// 联系电话
		/// </summary>
		public string Telphone { get { return _Telphone; } set { _Telphone = value; } }

        [DBColumn(Alias = "联系电话", CanBeNull = true, Length = "32")]
		private string _Telphone;

		/// <summary>
		/// 联系手机
		/// </summary>
		public string Mobile { get { return _Mobile; } set { _Mobile = value; } }

        [DBColumn(Alias = "联系手机", CanBeNull = true, Length = "32")]
		private string _Mobile;

		/// <summary>
		/// 传真
		/// </summary>
		public string Fax { get { return _Fax; } set { _Fax = value; } }

        [DBColumn(Alias = "传真", CanBeNull = true, Length = "32")]
		private string _Fax;

		/// <summary>
		/// 邮编
		/// </summary>
		public string PostCode { get { return _PostCode; } set { _PostCode = value; } }

        [DBColumn(Alias = "邮编", CanBeNull = true, Length = "8")]
		private string _PostCode;

		/// <summary>
		/// 地址
		/// </summary>
		public string Address { get { return _Address; } set { _Address = value; } }

        [DBColumn(Alias = "地址", CanBeNull = true, Length = "255")]
		private string _Address;

		/// <summary>
		/// 公司主页
		/// </summary>
		public string HomePage { get { return _HomePage; } set { _HomePage = value; } }

        [DBColumn(Alias = "公司主页", CanBeNull = true, Length = "255")]
		private string _HomePage;

		/// <summary>
		/// 公司名称
		/// </summary>
		public string CompanyName { get { return _CompanyName; } set { _CompanyName = value; } }

        [DBColumn(Alias = "公司名称", CanBeNull = true, Length = "32")]
		private string _CompanyName;

		/// <summary>
		/// 公司简介
		/// </summary>
		public string AboutUs { get { return _AboutUs; } set { _AboutUs = value; } }

        [DBColumn(Alias = "公司简介", CanBeNull = true, Length = "Max")]
		private string _AboutUs;

		/// <summary>
		/// 地区
		/// </summary>
		public string AddressRegion { get { return _AddressRegion; } set { _AddressRegion = value; } }

        [DBColumn(Alias = "地区", CanBeNull = true, Length = "32")]
		private string _AddressRegion;

		/// <summary>
		/// 街道
		/// </summary>
		public string AddressStreet { get { return _AddressStreet; } set { _AddressStreet = value; } }

        [DBColumn(Alias = "街道", CanBeNull = true, Length = "255")]
		private string _AddressStreet;

		/// <summary>
		/// 自定义联系方式
		/// </summary>
		public string CustomContacts { get { return _CustomContacts; } set { _CustomContacts = value; } }

        [DBColumn(Alias = "自定义联系方式", CanBeNull = true, Length = "Max")]
		private string _CustomContacts;

		/// <summary>
		/// 排列次序
		/// </summary>
		public short Ordinal { get { return _Ordinal ?? default(short); } set { _Ordinal = value; } }

		[DBColumn(Alias="排列次序", DefaultValue="999")]
		private short? _Ordinal;

		/// <summary>
		/// 状态
		/// </summary>
		public short State { get { return _State ?? default(short); } set { _State = value; } }

		[DBColumn(Alias="状态", DefaultValue="0")]
		private short? _State;

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreatedTime { get { return _CreatedTime ?? default(DateTime); } set { _CreatedTime = value; } }

		[DBColumn(Alias="创建时间", DefaultValue="getdate()")]
		private DateTime? _CreatedTime;

		/// <summary>
		/// 最后更新时间
		/// </summary>
		public DateTime ModifiedTime { get { return _ModifiedTime ?? default(DateTime); } set { _ModifiedTime = value; } }

		[DBColumn(Alias="最后更新时间", CanBeNull=true)]
		private DateTime? _ModifiedTime;

		/// <summary>
		/// 是否删除
		/// </summary>
		public bool IsDeleted { get { return _IsDeleted ?? default(bool); } set { _IsDeleted = value; } }

		[DBColumn(Alias="是否删除", DefaultValue="0")]
		private bool? _IsDeleted;

		/// <summary>
		/// 网站标签
		/// </summary>
		public string SiteTag { get { return _SiteTag; } set { _SiteTag = value; } }

		[DBColumn(Alias="网站标签", CanBeNull=true, Length="16")]
		private string _SiteTag;

	}
}
